#ifndef __GOLD_COUNTER_LAYER_H__
#define __GOLD_COUNTER_LAYER_H__
#include "cocos2d.h"

class GoldCounterLayer : public cocos2d::CCLayer
{
public:
	GoldCounterLayer();
	virtual ~GoldCounterLayer();
	bool init(int number=0);
	static GoldCounterLayer* create(int number=0);
	void setNumber(int number,int ceiling = 999999);
	int getNumber() { return _number; }
private:
	int _number;
};

#endif